package com.trip.user.service.impl;

import com.trip.user.mapper.UserCouponMapper;
import com.trip.user.service.OrderService;
import com.trip.user.vo.OrderVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {


    @Autowired
    private UserCouponMapper userCouponMapper;


    @Override
    public OrderVo selectByOrderNo(String orderId) {
        return userCouponMapper.selectByOrderNo(orderId);
    }

    @Override
    public int updateById(OrderVo order) {
        return 1;
    }
}
